package com.unytech.wisdomcommunity.application;

import android.app.Application;

/**
 * Created by zed on 2016/11/11/0011.
 *
 * 获取全局的Context
 */
public class MyApplication extends Application {
    private static MyApplication app;

    public static MyApplication getAppContext(){
        return app;
    }
    @Override
    public void onCreate() {
        super.onCreate();
        app = this;
    }
}